package com.anc.redis.exception;

import enums.RespCodeEnum;
import exception.AncException;

/**
 * @author Anc
 * @date 2019/5/27
 *
 * redis分布式锁 加锁失败异常
 */
public class AncRedisLockFailException extends AncException {

    public AncRedisLockFailException(Integer code, String message) {
        super(code, message);
    }

    public AncRedisLockFailException(RespCodeEnum codeEnum, String message) {
        super(codeEnum,message);
    }

    public AncRedisLockFailException(RespCodeEnum codeEnum) {
        super(codeEnum);
    }

    public AncRedisLockFailException(RespCodeEnum codeEnum, Throwable cause) {
        super(codeEnum, cause);
    }

    public AncRedisLockFailException(Integer code, String message, Throwable cause) {
        super(code, message, cause);
    }

    public AncRedisLockFailException(String message) {
        super(message);
    }

    public AncRedisLockFailException(String message, Throwable cause) {
        super(message, cause);
    }
}
